package com.web.core;

import java.util.List;
import java.util.Map;

/**
 * 分页类
 * @author mtj
 * 2017-11-6
 */
@SuppressWarnings("rawtypes")
public class PageMap {
	
	List objectList = null;
	boolean success = true;
	public Map<String, Object> extraMap = null;
	
	int pageSize = 10;
	int pageNumber = 1;
	int totalRow;
	int totalPage;
	
	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}

	public int getTotalRow() {
		return totalRow;
	}

	public void setTotalRow(int totalRow) {
		this.totalRow = totalRow;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public List getObjectList() {
		return this.objectList;
	}

	public void setObjectList(List objectList) {
		this.objectList = objectList;
	}


	public boolean isSuccess() {
		return this.success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public Map<String, Object> getExtraMap() {
		return extraMap;
	}

	public void setExtraMap(Map<String, Object> extraMap) {
		this.extraMap = extraMap;
	}
	
	public PageMap(){
		
	}
}
